<?php

namespace App\Models;

use App\Models\Traits\Filterable;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Instructors extends Model
{
    use HasFactory;
    use Filterable;

    protected $guarded = [];

    public function center()
    {
        return $this->belongsTo(Centers::class);
    }

    public function report()
    {
        return $this->hasMany(Reports::class);
    }

    public function sports()
    {
        return $this->belongsToMany(Sport::class);
    }
}
